﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AdminCmsCategoryControl.ascx.cs" Inherits="BIS.Portal.Modules.CMS.Adm.AdminCmsCategoryControl" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1">
    <title></title>
    <style type="text/css">
        span.hidden
        {
            color: Silver;
        }
        span.deactived
        {
            color: Red;
            text-decoration: line-through;
        }
        span.logic-delete
        {
            color: Red;
        }
        span.available
        {
            color: Black;
        }
        span.TextRootNode
        {
            color: Black;
            font-weight: bold;
        }
        .style1
        {
            height: 26px;
        }
        </style>
</head>
<body>
<table border="0px">
    <tr>
        <td>
            <asp:ImageButton ID="ibtnAddCategory" runat="server" 
                ImageUrl='<%#ModulePath + "Images/add.png"%>' 
                onclick="ibtnAddCategory_Click" ValidationGroup="5" />
            <asp:ImageButton ID="ibtnDeleteCategory" runat="server" 
                ImageUrl='<%#ModulePath + "Images/delete.png"%>' 
                onclick="ibtnDeleteCategory_Click" 
                onclientclick="return confirm('Bạn có chắc chăn muốn xóa không?')" />
            <asp:ImageButton ID="ibtnRedirect" runat="server" 
                ImageUrl='<%#ModulePath + "Images/goto-article-list.gif"%>'
                onclick="ibtnRedirect_Click" />
        </td>
        <td rowspan="2">
            <Table>
                <tr>
                    <td>PageAlias của nhóm nội dung</td>
                    <td>
                        <asp:RequiredFieldValidator ID="rfvPageAliasNhomNoiDung" runat="server" 
                            ControlToValidate="ddlPageAliasNhomNoiDung" ErrorMessage="*" InitialValue="0"></asp:RequiredFieldValidator>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlPageAliasNhomNoiDung" runat="server">
                        </asp:DropDownList>
                        <asp:HiddenField ID="hdfCateId" runat="server" />
                        
                    </td>
                </tr>
                <tr>
                    <td>PageAlias của nội dung</td>
                    <td>
                        <asp:RequiredFieldValidator ID="rfvPageAliasNoiDung" runat="server" 
                            ControlToValidate="ddlPageAliasNoiDung" ErrorMessage="*" InitialValue="0"></asp:RequiredFieldValidator>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlPageAliasNoiDung" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>Tên của nhóm nội dung</td>
                    <td>
                        <asp:RequiredFieldValidator ID="rfvTenNhomNoiDung" runat="server" 
                            ControlToValidate="txtTenNhomNoiDung" ErrorMessage="*"></asp:RequiredFieldValidator>
                    </td>
                    <td>
                        <asp:TextBox ID="txtTenNhomNoiDung" runat="server"></asp:TextBox>
                    </td>
                </tr>
                 <tr>
                    <td>Mô tả</td>
                    <td></td>
                    <td>
                        <asp:TextBox ID="txtMoTa" runat="server" Height="74px" TextMode="MultiLine" 
                            Width="403px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>Tiêu đề Meta</td>
                    <td></td>
                    <td>
                        <asp:TextBox ID="txtTieuDeMeta" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>Mô tả Meta</td>
                    <td></td>
                    <td>
                        <asp:TextBox ID="txtMoTaMeta" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>Từ khóa Meta</td>
                    <td></td>
                    <td>
                        <asp:TextBox ID="txtTuKhoaMeta" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>Nhóm nội dung mức Cha </td>
                    <td>
                        &nbsp;</td>
                    <td>
                        <asp:DropDownList ID="ddlDanhMucCha" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td> </td>
                    <td></td>
                    <td>
                        <asp:CheckBox ID="chkSuDungLienKetTrucTiep" runat="server" 
                            Text="Su dung lien ket truc tiep" />
                    </td>
                </tr>
                <tr>
                    <td>Liên kết trực tiếp</td>
                    <td></td>
                    <td>
                        <asp:TextBox ID="txtLienKetTrucTiep" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>Loại nhóm nội dung</td>
                    <td>
                        <asp:RequiredFieldValidator ID="rfvPageAliasLoaiNhomNoiDung" runat="server" 
                            ControlToValidate="ddlLoaiNhomNoiDung" ErrorMessage="*" InitialValue="0"></asp:RequiredFieldValidator>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlLoaiNhomNoiDung" runat="server">
                            <asp:ListItem Selected="True" Value="0">Nhóm Kiểu Nội Dung</asp:ListItem>
                            <asp:ListItem Value="1">Danh Sách Bài Viêt</asp:ListItem>
                            <asp:ListItem Value="2">Chi Tiết Bài Viết</asp:ListItem>
                            <asp:ListItem Value="3">Thư Viện Ảnh</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td> </td>
                    <td></td>
                    <td>
                        <asp:CheckBox ID="chkChoPhepHienThiDuLieu" runat="server" 
                            Text="Cho phep hien thi kieu menu" />
                    </td>
                </tr>
                <tr>
                    <td>Ngôn ngữ</td>
                    <td>
                        &nbsp;</td>
                    <td>
                        <asp:DropDownList ID="ddlNgonNgu" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="style1">Trạng thái</td>
                    <td class="style1">
                        </td>
                    <td class="style1">
                        <asp:DropDownList ID="ddlTrangThai" runat="server">
                            <asp:ListItem Selected="True" Value="1">Cho Phép Hiển Thị</asp:ListItem>
                            <asp:ListItem Value="0">Không Cho Hiển Thị</asp:ListItem>
                            <asp:ListItem Value="99">Đã Xóa Logic</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td></td>
                    <td>
                        <table>
                            <tr>
                                <td colspan="2"><asp:Literal ID="ltrMessage" runat="server"></asp:Literal></td>
                            </tr>
                            <tr>
                                <td>
                        
                                    <asp:Button ID="btnThemMoi" runat="server" onclick="btnThemMoi_Click" 
                                        Text="Thêm Mới" Visible="False" Width="123px" />
                        
                        <asp:Button ID="btnCapNhat" runat="server" Text="Cập Nhật" Width="112px" 
                            onclick="btnCapNhat_Click" />
                                </td>
                                <td>
                            <asp:Button ID="btnBoQua" runat="server" Text="Bỏ Qua" Width="66px" 
                                onclick="btnBoQua_Click" ValidationGroup="2" />
                                </td>
                            </tr>
                        </table>
                   </td>
                </tr>
            </Table>
        </td>
    </tr>
    
    
    <tr>
        <td valign="top">
        <asp:TreeView ID="tvCategory" runat="server" ShowLines="True" 
                onselectednodechanged="tvCategory_SelectedNodeChanged">
            <SelectedNodeStyle BackColor="#999999" />
        </asp:TreeView>
        </td>
        
    </tr>
</table>
</body>